Repetier-Firmware  1.0.0
FlashGCodeSource Class Reference

#include <gcode.h>

Inheritance diagram for FlashGCodeSource:
GCodeSource

Public Member Functions

 FSTRINGPARAM (pointer)
 
 FlashGCodeSource ()
 
virtual bool isOpen ()
 
virtual bool supportsWrite ()
 true if write is a non dummy function More...
 
virtual bool closeOnError ()
 
virtual bool dataAvailable ()
 
virtual int readByte ()
 
virtual void writeByte (uint8_t byte)
 
virtual void close ()
 
void executeCommands (FSTRINGPARAM(data), bool waitFinish, int action)
 
- Public Member Functions inherited from GCodeSource
 GCodeSource ()
 
virtual ~GCodeSource ()
 

Public Attributes

volatile bool finished
 
int actionOnFinish
 
- Public Attributes inherited from GCodeSource
uint32_t lastLineNumber
 
uint8_t wasLastCommandReceivedAsBinary
 Was the last successful command in binary mode? More...
 
millis_t timeOfLastDataPacket
 
int8_t waitingForResend
 Waiting for line to be resend. -1 = no wait. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GCodeSource
static void registerSource (GCodeSource *newSource)
 
static void removeSource (GCodeSource *delSource)
 
static void rotateSource ()
 Move active to next source. More...
 
static void writeToAll (uint8_t byte)
 Write to all listening sources. More...
 
static void printAllFLN (FSTRINGPARAM(text))
 
static void printAllFLN (FSTRINGPARAM(text), int32_t v)
 
- Static Public Attributes inherited from GCodeSource
static GCodeSource * activeSource = &serial0Source
 

Constructor & Destructor Documentation

◆ FlashGCodeSource()

FlashGCodeSource::FlashGCodeSource ( )

Member Function Documentation

◆ close()

void FlashGCodeSource::close ( )
virtual

Implements GCodeSource.

◆ closeOnError()

bool FlashGCodeSource::closeOnError ( )
virtual

Implements GCodeSource.

◆ dataAvailable()

bool FlashGCodeSource::dataAvailable ( )
virtual

Implements GCodeSource.

◆ executeCommands()

void FlashGCodeSource::executeCommands ( FSTRINGPARAM(data)  ,
bool  waitFinish,
int  action 
)

Execute the commands at the given memory. If already an other string is running, the command will wait until that command finishes. If wait is true it will also wait for given command to be enqueued completely.

◆ FSTRINGPARAM()

FlashGCodeSource::FSTRINGPARAM ( pointer  )

◆ isOpen()

bool FlashGCodeSource::isOpen ( )
virtual

Implements GCodeSource.

◆ readByte()

int FlashGCodeSource::readByte ( )
virtual

Implements GCodeSource.

◆ supportsWrite()

bool FlashGCodeSource::supportsWrite ( )
virtual

true if write is a non dummy function

< true if write is a non dummy function

Implements GCodeSource.

◆ writeByte()

void FlashGCodeSource::writeByte ( uint8_t  byte)
virtual

Implements GCodeSource.

Member Data Documentation

◆ actionOnFinish

int FlashGCodeSource::actionOnFinish

◆ finished

volatile bool FlashGCodeSource::finished

The documentation for this class was generated from the following files: